
{[include file="document/_view.tpl"]}

<fieldset>
<legend>文档信息</legend>
<form id="form_add">
<input type="hidden" name="id" value="{[$smarty.request.id]}" />
<input type="hidden" name="_upload" id="_upload" value="1" />
  <table>
	<tr>
		<td align="right">备注：</td>
		<td><textarea rows="3" name="content" cols="55"></textarea></td>
	</tr>
	<tr>
		<td width="20%" align="right">文件名：</td>
		<td width="80%"><select name='filename' id='filename'>
  {[html_options options=$filename_option selected=safe]}
  </select></td>
	</tr>
	<tr>
		<td align="right">附件：</td>
		<td><input type="file" name="userfile" id="userfile" size="42" value=""></td>
	</tr>	
  </table>
</form>
</fieldset>

<script type="text/javascript" src="js/document/info/add.js"></script>